// nprogress
#nprogress .bar {
	background-color: $color-theme;
}
.w230 {
	width: 230px;
}
.sidebar__menuwarp {
	//侧边栏
	.el-menu {
		border-right: none;
		background-color: transparent;
	}
	.el-submenu {
		box-sizing: border-box;
	}
	.el-menu-item {
		color: $color-text-slide;
	}
	.el-submenu__title {
		color: $color-text-slide;
		box-sizing: border-box;
	}
	.el-submenu__title i {
		color: $color-text-slide;
	}

	.el-menu--vertical {
		background-color: $color-bg-slide;
	}
	//侧边栏收缩后文字有个左margin导致图标偏左
	.el-menu--collapse > .el-menu-item span,
	.el-menu--collapse > .el-submenu > .el-submenu__title span {
		display: none;
	}
	.primary.el-menu--vertical {
		.el-menu-item:hover {
			background-color: $color-theme-five;
		}
		.el-menu-item.is-active {
			color: $color-text-slide;
		}
	}
	.border.el-menu--vertical {
		.el-menu-item:hover {
			color: $color-theme;
			background-color: $color-bg-invert !important;
			border-right: 2px solid $color-theme;
		}
		.el-menu-item.is-active {
			color: $color-theme;
			background-color: $color-bg-invert !important;
			border-right: 2px solid $color-theme;
		}
	}
}
.secondary-warp {
	.el-menu--horizontal > .el-menu-item.is-active {
		color: $color-theme;
	}
}
.el-menu--horizontal .el-menu .el-menu-item.is-active,
.el-menu--horizontal .el-menu .el-submenu.is-active > .el-submenu__title {
	color: $color-theme;
}
//tooltip
.el-popconfirm__action {
	margin-top: 20px;
}
.el-popconfirm {
	max-width: 200px;
}

//input
.suffix {
	line-height: 32px;
}

//el-radio
.el-radio {
	margin-right: 10px;
}

//tab
.el-tabs__header {
	margin: 0;
}
.el-tabs__item {
	height: 28px;
	line-height: 28px;
}
.el-tabs__nav-wrap::after {
	content: none;
}
//drawer
.el-drawer__body {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.el-notification__content {
	word-break: break-all;
}

//全局loading样式
.el-loading-spinner i {
	font-size: 30px;
}
.el-loading-spinner .el-loading-text {
	line-height: 40px;
	font-size: 16px;
}

//全局tip提示
.el-message {
	padding: 5px 20px 5px 5px;
	min-width: 250px;
	border: none;
	max-width: 500px;
	.el-message__content {
		line-height: 1.25;
	}
}

//全局预览图片插件
.el-image-viewer__mask {
	opacity: 0.9;
}
.el-image-viewer__close {
	background-color: transparent;
	font-size: 30px;
	top: 20px;
}
.el-image-viewer__next,
.el-image-viewer__prev {
	background-color: transparent;
}
